/*example_4_12: assgn_st.cpp
 *-- assigning structures
 * */
#include <iostream>

struct inflatable
{
    char name[23];
    float volume;
    double price;
};

int main(void)
{
    using namespace std;
    inflatable bouquet =
    {
        "sunflowers",
        0.20,
        12.49
    };

    inflatable choice;
    cout << "bouquer : " << bouquet.name << "for $";
    cout << bouquet.price << endl;

    choice = bouquet;
    cout << "choice: " << choice.name << " for $";
    cout << choice.price << endl;
    return 0;
}

